home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / HIERSV.PAK / HIERMAC.R next >
Text File  |  1997-05-06  |  4KB  |  191 lines

  1. #include        "resource.h"
  2.  
  3. /////////////////////////////////////////////////////////////////////////
  4. // WLM resources
  5.  
  6. #include        "ftab.r"
  7. #include        "mrc\types.r"
  8. #include        "mrc\balloons.r"
  9. #include        "systypes.r"
  10.  
  11. /////////////////////////////////////////////////////////////////////////
  12. // MFC resources
  13.  
  14. #include        "afxaete.r"
  15.  
  16.  
  17. /////////////////////////////////////////////////////////////////////////
  18. // Code Fragment resources
  19.  
  20. #include        "CodeFrag.r"
  21.  
  22.  
  23. /////////////////////////////////////////////////////////////////////////
  24. // hiersvr: Macintosh-specific resources
  25.  
  26. resource 'SIZE' (-1)
  27. {
  28.     reserved,
  29.     acceptSuspendResumeEvents,
  30.     reserved,
  31.     canBackground,
  32.     doesActivateOnFGSwitch,
  33.     backgroundAndForeground,
  34.     dontGetFrontClicks,
  35.     ignoreAppDiedEvents,
  36.     is32BitCompatible,
  37.     isHighLevelEventAware,
  38.     localAndRemoteHLEvents,
  39.     isStationeryAware,
  40.     useTextEditServices,
  41.     reserved,
  42.     reserved,
  43.     reserved,
  44. #ifdef _MPPC_
  45.     3000 * 1024,
  46.     3000 * 1024
  47. #else   // 68K Mac
  48. #ifdef _DEBUG
  49.     3000 * 1024,
  50.     3000 * 1024
  51. #else
  52.     2000 * 1024,
  53.     2000 * 1024
  54. #endif
  55. #endif
  56. };
  57.  
  58.  
  59. resource 'BNDL' (128, purgeable)    // hiersvr bundle resource ID
  60. {
  61.     'HIER',                 // hiersvr signature
  62.     0,                      // resource ID of signature resource:
  63.                             // should be 0
  64.     {
  65.         'ICN#',             // mapping local IDs in 'FREF's to 'ICN#' IDs
  66.         {
  67.             0, IDR_MAINFRAME,
  68.             1, IDR_HIERSVRTYPE,
  69.             2, 130
  70.         },
  71.         'FREF',             // local resource IDs for 'FREF's
  72.         {
  73.             0, 128,
  74.             1, 129,
  75.             2, 130
  76.         }
  77.     }
  78. };
  79.  
  80. resource 'FREF' (128, purgeable)    // hiersvr application
  81. {
  82.     'APPL', 0,
  83.     ""
  84. };
  85.  
  86. resource 'FREF' (129, purgeable)    // hiersvr document
  87. {
  88.     'HIER', 1,
  89.     ""
  90. };
  91.  
  92. resource 'FREF' (130, purgeable)    // hiersvr document
  93. {
  94.     'sIER', 2,
  95.     ""
  96. };
  97.  
  98. type 'HIER' as 'STR ';
  99.  
  100. resource 'HIER' (0, purgeable)
  101. {
  102.     "HierSvr Application"
  103. };
  104.  
  105. /* Balloon help resources */
  106.  
  107. resource 'hfdr' (-5696)
  108. {
  109.     HelpMgrVersion, hmDefaultOptions, 0, 0,
  110.     {
  111.         HMSTRResItem {500}
  112.     }
  113. };
  114.  
  115. resource 'hovr' (1000)
  116. {
  117.     HelpMgrVersion, hmDefaultOptions, 0, 0,
  118.  
  119.     HMStringItem    /* missing items override */
  120.     {
  121.         "Miscellaneous part of the Microsoft HierSvr "
  122.         "Sample Application."
  123.     },
  124.     {
  125.         HMSkipItem {},  /* title bar */
  126.         HMSkipItem {},  /* reserved. always skip item here */
  127.         HMStringItem    /* close box */
  128.         {
  129.         "Click here to close the Microsoft HierSvr "
  130.         "Sample Application."
  131.         },
  132.         HMStringItem    /* zoom box */
  133.             {
  134.         "Click here to Zoom In or Zoom Out."
  135.             },
  136.         HMSkipItem {},  /* active app's inactive window */
  137.         HMStringItem    /* inactive app's window */
  138.         {
  139.         "This is not part of the Microsoft HierSvr "
  140.         "Application. It may be part of the Apple "
  141.         "Finder, or some other application."
  142.         },
  143.         HMSkipItem {}   /* outside modal dialog */
  144.     }
  145. };
  146.  
  147. #ifdef _MPPC_
  148. resource 'STR ' (500)
  149. {
  150.     "This is the Win32 HierSvr sample application "
  151.     "ported to the Power Macintosh using Microsoft VC++ "
  152.     "Edition for the Apple Power Macintosh"
  153. };
  154. #else   // 68K Mac
  155. resource 'STR ' (500)
  156. {
  157.     "This is the Win32 HierSvr sample application "
  158.     "ported to the Macintosh using Microsoft VC++ Edition "
  159.     "for the Apple Macintosh"
  160. };
  161. #endif
  162.  
  163. resource 'vers' (2)
  164. {
  165.     0x04,
  166.     0x00,
  167.     final,
  168.     0x00,
  169.     verUS,
  170.     "4.0",
  171.     "MFC for Macintosh 4.0"
  172. };
  173.  
  174. #ifdef _MPPC_
  175. resource 'cfrg' (0) {
  176.   {
  177.         kPowerPC,
  178.         kFullLib,
  179.         kNoVersionNum,
  180.         kNoVersionNum,
  181.         kDefaultStackSize,
  182.         kNoAppSubFolder,
  183.         kIsApp,
  184.         kOnDiskFlat,
  185.         kZeroOffset,
  186.         kWholeFork,
  187.         "hiersvr"
  188.   }
  189. };
  190. #endif
  191.